<?php
class Index extends Action {
	/*
	 * (non-PHPdoc) @see Action::execute()
	 */
	public function execute($params) {
		check_login ( ADMIN_LOGIN_PAGE );
		$data = array (); // 传给控制台的变量
		$data ['passport'] = whoami ( 0, true ); // 每次刷主框架时都要求刷新用户权限信息
		$data ['apps'] = apply_filter ( 'get_desktop_applications', array () ); // 获取系统应用程序
		ksort($data ['apps']);
		$data ['site_name'] = CoreOptionModel::getOption ( 'site_name', 'CentIMS' );
		return new SmartyView ( $data );
	}
}